.d-modal-header 选择分支查看
ul.modal-branchcheck.modal-info(role="form" ng-form)
    li
        span.info-name.tool-not-align-input Branch或Tag
        .info-txt.text-left
            dome-radio(d-name="branch" d-id="branch" d-label="Branch" d-change="vm.toggle(model)" d-value="'Branch'" d-model="vm.check")
            dome-radio(d-name="branch" d-id="tag" d-label="Tag" d-change="vm.toggle(model)" d-value="'Tag'" d-model="vm.check")
    li
        span.info-name(ng-cloak) 选择{{vm.check}}
        .info-txt.com-select-con(select-con)
            input.ui-input-search.ui-input-fill.ui-btn-select(placeholder="{{vm.selectedBranch?'当前选择：'+vm.selectedBranch:'搜索'+vm.check}}" ng-model="vm.branchKey")
            ul.select-list(ng-show="vm.check=='Branch'")
                li(ng-if="branchFiltered.length===0")
                    a 无相关信息
                li.select-item(ng-repeat="branch in branchFiltered=(vm.branches|filter:vm.branchKey)")
                    a(ng-bind="branch" ng-click="vm.toggleBranch(branch)")
            ul.select-list(ng-show="vm.check=='Tag'")
                li(ng-if="tagFiltered.length===0")
                    a 无相关信息
                li.select-item(ng-repeat="branch in tagFiltered=(vm.tags|filter:vm.branchKey)")
                    a(ng-bind="branch" ng-click="vm.toggleBranch(branch)")
.modal-footer
    button.ui-btn.ui-btn-sm.ui-btn-white(ng-click="vm.cancel()") 取消
    button.ui-btn.ui-btn-sm.ui-btn-bright(ng-disabled="!vm.selectedBranch" ng-click="vm.selectedBranch&&vm.submitBranch();") 确定